<?php
require("../../../class/connect.php");
require("../../../class/q_functions.php");
require("../../../class/db_sql.php");
require("../../../class/user.php");
$link=db_connect();
$empire=new mysqlquery();

//$uid=$_REQUEST['']

$query="SELECT f . * 
FROM phome_enewsmember f
left JOIN phome_jatsay s ON s.userid = f.userid left JOIN phome_jat_focus fs
 ON fs.uid=f.userid
WHERE fs.uid='{$user_id}' AND fs.type_id='".USR_FOCUS_ID."' group by f.userid;";
$sr=$empire->query($query);
//导入模板
require(ECMS_PATH.'e/template/member/FriendClass.php');
db_close();
$empire=null;
?>